<li id="branch_office_<%= bo.id %>">
  <p><%= bo.name %>, <%= t(:located_at) %> <%= bo.city %></p>
  <ul>
    <li><span><%= t(:departments) %></span>
      <div class="branch_office_departments">
        <ul>
        <% bo.departments.each do |d| %>
          <li><%= d.name %></li>
        <% end %>
        </ul>
      </div>
    </li>
    <li><span><%= t(:holidays) %></span>
      <div class="branch_office_holidays">
        <ul>
        <% bo.holidays.each do |h| %>
          <li><%= h.holiday_date.strftime("%d/%m/%Y") %> <%= h.reason %></li>
        <% end %>
        </ul>
      </div>
    </li>
    <li><%= link_to_remote t(:edit), { :url => edit_branch_office_admin_company_path(@company, :branch_office_id => bo), :update => "branch_office_#{bo.id}", :method => :get } %></li>
    <li><%= link_to_remote t(:remove), { :url => remove_branch_office_admin_company_path(@company, :branch_office_id => bo), :update => "branch_office_#{bo.id}", :method => :delete, :confirm => t(:confirm) } %></li>
  </ul>
</li>
